package top.infopub.mgr.bpa.service;

import com.github.pagehelper.Page;
import top.infopub.mgr.bpa.domain.ContractNegDomain;
import top.infopub.mgr.bpa.jsonVo.ContractReviewJsonVo;
import top.infopub.mgr.bpa.vo.ContractPublicVo;
import top.infopub.mgr.common.vo.RspVo;
import top.infopub.model.bpa.*;
import top.infopub.model.mkt.ProjectAttachment;
import top.infopub.security.vo.AuthorizationVO;

import java.text.ParseException;
import java.util.List;

public interface BpaContractBpaReviewService {
    Page<ContractNegDomain> selectByDomainWhere(Page<ContractNegDomain> page, ContractPublicVo contractPublicVo) throws ParseException;

    ContractReviewJsonVo queryDetailById(String id);

    RspVo saveAll(AuthorizationVO userDtl, String bodyStr, Integer submitType, BpaContractBpaReview contractReview, BpaContractReviewPublic bpaContractReviewPublic, List<BpaContractSummary> bpaContractSummary, List<BpaContractListing> bpaContractListing, List<BpaContractFormula> bpaContractFormula,BpaContractBid bpaContractBid, BpaContractBusiness bpaContractBusiness, List<ProjectAttachment> attachmentList);

    RspVo saveListing(List<BpaContractListing> bpaContractListings, String negName);
}
